var _____WB$wombat$assign$function_____=function(name){return (globalThis._wb_wombat && globalThis._wb_wombat.local_init && globalThis._wb_wombat.local_init(name))||globalThis[name];};if(!globalThis.__WB_pmw){globalThis.__WB_pmw=function(obj){this.__WB_source=obj;return this;}}{
let window = _____WB$wombat$assign$function_____("window");
let self = _____WB$wombat$assign$function_____("self");
let document = _____WB$wombat$assign$function_____("document");
let location = _____WB$wombat$assign$function_____("location");
let top = _____WB$wombat$assign$function_____("top");
let parent = _____WB$wombat$assign$function_____("parent");
let frames = _____WB$wombat$assign$function_____("frames");
let opener = _____WB$wombat$assign$function_____("opener");
/*------------------------------------------------------------------
Template Name: N. agency - Responisve Landing Page for Agency
Version: 1.0
Last update: 12/17/2017
Author: tabthemes
URL: http://www.tabthemes.com/
-------------------------------------------------------------------*/
$(function () {
'use strict';
/*--------------------------------------------------
Stellar Parallax Animation
---------------------------------------------------*/
$(window).stellar({
responsive: true,
horizontalOffset: 0,
horizontalScrolling: false
});
/*--------------------------------------------------
WOW Effects Animation
---------------------------------------------------*/
var wow = new WOW({
boxClass: 'wow', // animated element css class (default is wow)
animateClass: 'animated', // animation css class (default is animated)
offset: 100, // distance to the element when triggering the animation (default is 0)
mobile: false // trigger animations on mobile devices (true is default)
});
wow.init();
/*--------------------------------------------------
Preloader Page
---------------------------------------------------*/
$(window).load(function () {
$("#preloader").delay(600).fadeOut("slow");
});
/*--------------------------------------------------
Menu Features
---------------------------------------------------*/
// Sticky Navigation
$(window).scroll(function(){
if ($(window).scrollTop() > 1 && $('.navbar-toggle').is(":hidden")){
$('.navigation-overlay, .navigation, .nav-solid').addClass("sticky");
$('.logo-wrap').addClass("shrink");
} else {
$('.navigation-overlay, .navigation, .nav-solid').removeClass("sticky");
$('.logo-wrap').removeClass("shrink");
}
});
// Closes the Responsive Menu on Menu Item Click
$('.navbar-collapse ul li a').on('click',function() {
$(".navbar-collapse").collapse('hide');
});
// Mobile Menu Resize
$(".navbar .navbar-collapse").css("max-height", $(window).height() - $(".navbar-header").height() );
/*--------------------------------------------------
Page Scroll Features
---------------------------------------------------*/
smoothScroll.init({
speed: 2000,
updateURL: false,
offset: 70
});
/*--------------------------------------------------
Owl Carousel Testimonials
---------------------------------------------------*/
$("#owl-testimonials").owlCarousel({
loop:true,
margin:20,
nav:true,
dots: false,
navText:['',''],
autoHeight: true,
items:1
});
/*--------------------------------------------------
Owl Carousel Blog
---------------------------------------------------*/
$("#owl-blog").owlCarousel({
loop:true,
margin:20,
nav:true,
dots: false,
navText:['',''],
responsive:{
0:{
items:1
},
480:{
items:2
},
768:{
items:2
},
992:{
items:3
}
}
});
/*--------------------------------------------------
Owl Carousel Clients
---------------------------------------------------*/
$("#owl-clients").owlCarousel({
loop:true,
margin:20,
nav:false,
dots: false,
autoplay: true,
autoplayTimeout: 3000,
responsive:{
0:{
items:2
},
480:{
items:3
},
768:{
items:4
},
992:{
items:4
},
1170:{
items:5
}
}
});
/*--------------------------------------------------
Stat Counter
---------------------------------------------------*/
$(".stat-item-number").appear(function() {
var count = $(this);
count.countTo({
from: 0,
to: count.html(),
speed: 3000,
refreshInterval: 60,
});
});
/*--------------------------------------------------
Magnific Popup
---------------------------------------------------*/
$(".lightbox-image").magnificPopup({
type: 'image',
gallery: {
enabled: true
},
mainClass: "mfp-fade"
});
$(".individual-gallery").magnificPopup({
type: 'image',
gallery: {
enabled: true
},
mainClass: "mfp-fade"
});
$('.lightbox-video').magnificPopup({
disableOn: 700,
type: 'iframe',
mainClass: 'mfp-fade',
removalDelay: 160,
preloader: false,
fixedContentPos: false
});
/*--------------------------------------------------
Portfolio Isotope
---------------------------------------------------*/
if ($.fn.isotope && $.fn.imagesLoaded && ($('.portfolio').length > 0)) {
$('.portfolio-isotope').imagesLoaded(function() {
$('.iso-button').on("click", function() {
$('.iso-button').removeClass('iso-active');
$(this).addClass('iso-active');
var selector = $(this).attr('data-filter');
container.isotope({
filter: selector
});
return false;
});
$(window).resize(function() {
container.isotope({});
});
var container = $('.portfolio-isotope');
container.isotope({
itemSelector: '.pf-item',
transitionDuration: '0.6s',
layoutMode: 'fitRows'
});
});
}
/*--------------------------------------------------
Youtube Video Background
---------------------------------------------------*/
$(function() {
$(".video-player").YTPlayer();
});
/*--------------------------------------------------
CountTo Facts
---------------------------------------------------*/
$('.countup').appear(function() {
var count_element = $(this);
count_element.countTo({
from: 0,
to: parseInt( count_element.text() , 10 ) ,
speed: 3000
});
});
/* ---------------------------------------------
Height 100%
--------------------------------------------- */
$(function () {
$(".js-height-full").height($(window).height());
$(".js-height-parent").each(function(){
$(this).height($(this).parent().first().height());
});
});
/*--------------------------------------------------
Back to Top
---------------------------------------------------*/
if ($('#back-to-top').length) {
var scrollTrigger = 100, // px
backToTop = function() {
var scrollTop = $(window).scrollTop();
if (scrollTop > scrollTrigger) {
$('#back-to-top').addClass('show');
} else {
$('#back-to-top').removeClass('show');
}
};
backToTop();
$(window).on('scroll', function() {
backToTop();
});
$('#back-to-top').on('click', function(e) {
e.preventDefault();
$('html,body').animate({
scrollTop: 0
}, 700);
});
}
});
}
/*
FILE ARCHIVED ON 10:16:43 Feb 11, 2022 AND RETRIEVED FROM THE
INTERNET ARCHIVE ON 06:31:18 Jul 11, 2026.
JAVASCRIPT APPENDED BY WAYBACK MACHINE, COPYRIGHT INTERNET ARCHIVE.
ALL OTHER CONTENT MAY ALSO BE PROTECTED BY COPYRIGHT (17 U.S.C.
SECTION 108(a)(3)).
*/
/*
playback timings (ms):
capture_cache.get: 0.355
load_resource: 197.222
PetaboxLoader3.resolve: 98.023
PetaboxLoader3.datanode: 91.092 (2)
loaddict: 69.532
*/